{
  externals: [
    {
      module: 'vue',
      entry: 'https://unpkg.com/vue@2.6.10/dist/vue.min.js',
      global: 'Vue',
    },
    {
      module: 'vue-router',
      entry: 'https://unpkg.com/vue-router@3.0.6/dist/vue-router.min.js',
      global: 'VueRouter',
    },
    {
      module: 'vuex',
      entry: 'https://unpkg.com/vuex@3.1.0/dist/vuex.min.js',
      global: 'Vuex',
    },
    {
      module: 'element-ui',
      entry: [
        'https://unpkg.com/element-ui@2.13.2/lib/index.js',
        'https://unpkg.com/element-ui@2.13.2/lib/theme-chalk/index.css',
      ],
      global: 'ELEMENT',
    },
    {
      module: 'axios',
      entry: 'https://unpkg.com/axios@0.18.1/dist/axios.min.js',
      global: 'axios',
    },
    {
      module: 'lodash',
      entry: 'https://unpkg.com/lodash@4.17.21/lodash.min.js',
      global: '_',
    },
    {
      module: 'qrcode',
      entry: 'https://unpkg.com/qrcode@1.5.1/build/qrcode.js',
      global: 'QRCode',
    },
    {
      module: 'vue-print-nb',
      entry: 'https://unpkg.com/vue-print-nb@1.7.5/lib/print.umd.min.js',
      global: 'print',
    },
    {
      module: 'xlsx',
      entry: 'https://unpkg.com/xlsx@0.16.8/dist/xlsx.min.js',
      global: 'XLSX',
    },
    {
      module: 'file-saver',
      entry: 'https://unpkg.com/file-saver@2.0.2/dist/FileSaver.min.js',
      global: 'FileSaver',
    },
    {
      module: 'cos-js-sdk-v5',
      entry: 'https://unpkg.com/cos-js-sdk-v5@1.4.15/dist/cos-js-sdk-v5.min.js',
      global: 'COS',
    },
    {
      module: 'js-cookie',
      entry: 'https://unpkg.com/js-cookie@2.2.0/src/js.cookie.js',
      global: 'Cookies',
    },
    {
      module: 'nprogress',
      entry: [
        'https://cdn.bootcdn.net/ajax/libs/nprogress/0.2.0/nprogress.min.js',
        'https://cdn.bootcdn.net/ajax/libs/nprogress/0.2.0/nprogress.min.css',
      ],
      global: 'NProgress',
    },
    {
      module: 'normalize.css',
      entry: 'https://unpkg.com/normalize.css@7.0.0/normalize.css',
    },
  ],
}
